﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace DangerousTest
{
    public partial class dANGEROUStEST : System.Web.UI.Page
    {
        protected void btnShowHtmlEncoded_Click(object sender, EventArgs e)
        {
            string enteredText = txtSampleText.Text;
            lblEnterdText.Text = Server.HtmlEncode(enteredText);
            txtEnteredText.Text = enteredText;
        }
    }
}